export default {
	userInfo: state => state.app.userInfo || {},
	token: state => state.app.token,
	isLogin: state => !!state.app.token,
	cartNum: state => state.app.cartNum,
	inviteCode: state => state.app.userInfo.sn || "",
	appConfig: state => {
		return state.app.config
	}
};
